﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DebuggerStepThrough, DataContract(Name="DbConfigQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class DbConfigQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DbDatabaseField;
        [OptionalField]
        private string DbDbmsField;
        [OptionalField]
        private string DbLoginIDField;
        [OptionalField]
        private string DbLoginPasswdField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string IsGlobalField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhDbDescField;
        [OptionalField]
        private string WhDbIDField;
        [OptionalField]
        private string WhDbNameField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string DbDatabase
        {
            get
            {
                return this.DbDatabaseField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DbDatabaseField, value))
                {
                    this.DbDatabaseField = value;
                    base.RaisePropertyChanged("DbDatabase");
                }
            }
        }

        [DataMember]
        public string DbDbms
        {
            get
            {
                return this.DbDbmsField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DbDbmsField, value))
                {
                    this.DbDbmsField = value;
                    base.RaisePropertyChanged("DbDbms");
                }
            }
        }

        [DataMember]
        public string DbLoginID
        {
            get
            {
                return this.DbLoginIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DbLoginIDField, value))
                {
                    this.DbLoginIDField = value;
                    base.RaisePropertyChanged("DbLoginID");
                }
            }
        }

        [DataMember]
        public string DbLoginPasswd
        {
            get
            {
                return this.DbLoginPasswdField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DbLoginPasswdField, value))
                {
                    this.DbLoginPasswdField = value;
                    base.RaisePropertyChanged("DbLoginPasswd");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string IsGlobal
        {
            get
            {
                return this.IsGlobalField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsGlobalField, value))
                {
                    this.IsGlobalField = value;
                    base.RaisePropertyChanged("IsGlobal");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhDbDesc
        {
            get
            {
                return this.WhDbDescField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhDbDescField, value))
                {
                    this.WhDbDescField = value;
                    base.RaisePropertyChanged("WhDbDesc");
                }
            }
        }

        [DataMember]
        public string WhDbID
        {
            get
            {
                return this.WhDbIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhDbIDField, value))
                {
                    this.WhDbIDField = value;
                    base.RaisePropertyChanged("WhDbID");
                }
            }
        }

        [DataMember]
        public string WhDbName
        {
            get
            {
                return this.WhDbNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhDbNameField, value))
                {
                    this.WhDbNameField = value;
                    base.RaisePropertyChanged("WhDbName");
                }
            }
        }
    }
}

